package com.zmm.member.service;


import com.zmm.common.exception.handle.BusinessException;
import com.zmm.member.submit.vo.OrderAddressVo;

import java.util.List;

/**
 * @author 900045
 * @description:
 * @name CustomerAddressService
 * @date By 2021-07-23 14:53:12
 */
public interface CustomerAddressService {


	/**
	 * 根据 用户ID 查询 用户地址列表 -- 接口
	 * @author: 900045
	 * @date: 2021-07-23 14:54:30
	 * @throws 
	 * @param customerId: 
	 * @return: java.util.List<org.apache.tomcat.jni.Address>
	 **/
	List<OrderAddressVo> queryCustomerAddressListByCustomerId(Integer customerId);

	/**
	 * 用户添加 地址 -- 接口
	 * @author: 900045
	 * @date: 2021-08-04 15:31:02
	 * @throws BusinessException
	 * @param customerAddress: 
	 * @param customerId:   
	 * @return: boolean
	 **/
	boolean addCustomerAddress(OrderAddressVo customerAddress,Integer customerId) throws BusinessException;
}
